//
//  codelabsApp.swift
//  codelabs
//
//  Created by 雷雷 on 23/05/2025.
//

import SwiftUI
import SwiftData

@main
struct codelabsApp: App {
    @State  private var modelData=ModelData()
    
    var body: some Scene {
        WindowGroup {
            ContentView()
                .environment(modelData)
        }
//        .modelContainer(try! .init(for: DailyScrum.self, configurations: .init(allowsSave: false)))

        #if os(macOS)
        .windowResizability(true)
        .defaultSize(CGSize(width:480,height:240))
        .defaultPosition(.center)
        #endif
    }
}
